package com.itheima.ood.lambda.demo04;

public class StringHandlerDemo {

    public static void main(String[] args) {

        useStringHandler((String message) -> {
            System.out.println(message + "....有点难");
        });
    }

    public static void useStringHandler(StringHandler stringHandler){

        stringHandler.printMessage("这就是message的实际参数");
    }
}
